﻿@model WineStore.Models.Setting
@{
    ViewBag.Title = "EditSetting";
    Layout = "~/Views/Shared/AdminLayout.cshtml";
}
@section Styles
{
    <style type="text/css">
        input, textarea, select {
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 3px;
            width: 200px;
            color: #333;
            box-shadow: rgba(0,0,0,0.1)0px 0px 8px;
            -moz-box-shadow: rgba(0,0,0,0.1)0px 0px 8px;
            -webkit-box-shadow: rgba(0,0,0,0.1)0px 0px 8px;
            margin:5px;
        }

        textarea {
            width: 400px;
            height: 100px;
            max-width: 400px;
            line-height: 18px;
            border-radius: 3px;
            margin:5px;
        }
         

            input:hover, textarea:hover, select:hover
            input:focus, textarea:focus, select:focus {
                border-color: 10px solid #C9C9C9;
                box-shadow: rgba(0,0,0,0.2)0px 0px 8px;
                -moz-box-shadow: rgba(0,0,0,0.2)0px 0px 8px;
                -webkit-box-shadow: rgba(0,0,0,0.2)0px 0px 8px;
                border-radius: 3px;
            }

        input .submit{
            height: 38px;
            background-color: #474E69;
            color: #FFF;
            border-radius: 3px;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            margin:5px;
        }
    </style>
}
<!-- Table (TABLE) -->
@section Scripts{
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/ckeditor/ckeditor.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/ckeditor/adapters/jquery.js")" type="text/javascript"></script>
}
<h3 class="tit">Sửa Email Liên Hệ
</h3>
<fieldset>
    <legend>Sửa Email Liên Hệ</legend>
    @using (Html.BeginForm("EditSetting", "Setting", FormMethod.Post, new { enctype = "multipart/form-data" }))
    { 
        @Html.ValidationSummary(true)
        @Html.HiddenFor(model => model.SettingId)
        <table class="nostyle">
            <tbody>
                
                 <tr>
                    <td>Email <span style="color: Red">(*)</span>
                    </td>
                    <td>
                      @Html.EditorFor(model => model.Email)
                    </td>
                    <td style="color: Red;">
                        @Html.ValidationMessageFor(model => model.Email)
                    </td>
                </tr>
                
                <tr>
                    <td>Password <span style="color: Red">(*)</span>
                    </td>
                    <td>
                      @Html.PasswordFor(model => model.Password)
                    </td>
                  <td style="color: Red;">
                        @Html.ValidationMessageFor(model => model.Password)
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="t-right">
                        <input type="submit" value="Sửa" class="submit" style="width: 100px; cursor: pointer;"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <b>Chú ý</b>: Những mục đánh dấu <span style="color: Red">(*)</span> là bắt buộc.
                    </td>
                </tr>
            </tbody>
        </table>
    }
</fieldset>